﻿using Rhizome.Model;

namespace Rhizome.QuickStart.Elevator.Model
{
    /// <summary>
    ///   Code behind used to create template parameter
    /// </summary>
    public partial class DoorTrigger
    {
        public DoorTrigger()
        {
            InitializeComponent();
        }

        private CastEvent CastEvent
        {
            get { return (CastEvent) Action; }
        }

        /// <summary>
        /// Template parameter
        /// </summary>
        public object Event
        {
            get { return CastEvent.Event; }
            set { CastEvent.Event = value; }
        }
    }
}